package com.nanbei.orderService.client;

import com.nanbei.commonUntil.vo.orderVo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-ucenter",fallback = OrderCenterClientHystrix.class )
public interface OrderCenterClient {

    @GetMapping("/eduUcenter/centerMember/orderUserInfo/{userId}")
    public UcenterMemberOrder orderUserInfo(@PathVariable("userId") String userId);

}
